package com.pactera.madp.cp.api.vo.taskpub;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "任务发布返回对象")
public class TaskPubVo {

    @ApiModelProperty(value = "创建者")
    private Integer createUser;

    @ApiModelProperty(value = "创建者名称")
    private String createUserName;

    @ApiModelProperty(value = "参与成员")
    private Integer joinUser;

    @ApiModelProperty(value = "参与成员名称")
    private String joinUserName;

    @ApiModelProperty(value = "客户类型 0-其他客户 1-CRM客户")
    private Integer custType;

    @ApiModelProperty(value = "客户类型描述")
    private String custTypeDesc;

    @ApiModelProperty(value = "任务标题")
    private String title;

    @ApiModelProperty(value = "链接")
    private String url;

    @ApiModelProperty(value = "目标数")
    private Integer goalCount;

    @ApiModelProperty(value = "添加客户/转发推广总数")
    private Integer addCount;

    @ApiModelProperty(value = "完成度")
    private Integer percentage;

    @ApiModelProperty(value = "状态 0-待发布 1-进行中 2-已过期")
    private Integer status;

    @ApiModelProperty(value = "任务类型 1-新增客户 2-产品推广 3-活动推广")
    private Integer taskType;

    @ApiModelProperty(value = "任务类型描述")
    private String taskTypeDesc;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

}
